package org.crud4j.wicket.markup.html.viewer;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.Model;
import org.crud4j.core.CrudField;

public class ViewerFactory {

	public static Panel getViewer(String id, CrudField field) {
		return new DefaultViewerPanel(id, new Model(field));
	}

}
